﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using com.SyncConfiguration;
using System.Web.Caching;

public partial class ApplicationReLoad : System.Web.UI.Page
{
    string SyncConfiguration = "SyncConfiguration";
    static HttpContext context = null;
    protected void Page_Load(object sender, EventArgs e)
    {
       
    }

    protected void btn_reLoad_Click(object sender, EventArgs e)
    {
        //requestkey
        context = HttpContext.Current;
        context.Cache.Remove(SyncConfiguration); //此时调用global中的RemovedCallback
    }
}